<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>首页</title>
    <style>
        table {
            width: 100%;
            border-collapse: collapse;
        }

        table caption {
            font-size: 2em;
            font-weight: bold;
            margin: 1em 0;
        }

        th, td {
            border: 1px solid #999;
            text-align: center;
            padding: 20px 0;
        }

        table thead tr {
            background-color: #008c8c;
            color: #fff;
        }

        table tbody tr:nth-child(odd) {
            background-color: #eee;
        }

        table tbody tr:hover {
            background-color: #ccc;
        }

        table tbody tr td:first-child {
            color: #f40;
        }

        table tfoot tr td {
            text-align: right;
            padding-right: 20px;
        }

        *{
            margin: 0;
            padding: 0;
        }
        ul{
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 50px;
            list-style: none;
            box-shadow: 0 2px 4px #eeeeee;
        }
        ul > li {
            padding: 6px 16px;
            margin: 0 5px;
            border-right: 1px solid #f7f7f7;
            border-bottom: 1px solid transparent;
            cursor: pointer;
        }
        ul > li:last-child{
            border-right: none;
        }
        li:hover, li:focus, .active {
            color: #ff6615;
            border-bottom: 1px solid #ff6615;
        }
    </style>
</head>
<body>
<ul id="nav">
    <li class="active">首页</li>
    <li><a href="/incom">主播流水</a></li>
    <li><a href="/user">用户充值去向</a></li>
    <li><a href="/onlyanchor?uid=0">主播历史流水</a></li>
    <li><a href="/onlyrecharge?uid=0">历史充值去向</a></li>
</ul>
<h1 style="color: red">主播收入列表</h1>
<table>
    {% for item in list %}
    <tr>
        {% for it1 in item %}
        <td>{{ it1 }}</td>
        {% endfor %}
    </tr>
    {% endfor %}
</table>


</body>
</html>